package com.zhou.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @Description : 字典
 * @Author : zyy
 * @Date: 2024/6/17  15:17
 */
@Data
@Schema(name = "字典")
public class Dictionary {
    @Schema(name = "字典id", type = "string")
    @TableId("dictionary_id")
    private String dictionaryId;

    @Schema(description = "字典类型",type = "string")
    @TableField("dictionary_type")
    private String dictionaryType;

    @Schema(description = "字典描述",type = "string")
    @TableField("dictionary_describe")
    private String dictionaryDescribe;

    @Schema(description = "子id",type = "string")
    @TableField("father_id")
    private String fatherId;

    @Schema(description = "创建时间",type = "date")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "修改时间",type = "date")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "是否删除",type = "int")
    @TableField("del_flag")
    private Integer delFlag;
}
